import { CountDownSeparator } from "../../../types/tn-count-down"

/**
 * 分隔符的值
 */
type InnerSeparatorValue = {
  day: string,
  hour: string,
  minute: string,
  second: string
}
type InnerSeparatorMultiValue = {
  en: InnerSeparatorValue,
  cn: InnerSeparatorValue
}
const SeparatorMultiValue: InnerSeparatorMultiValue = {
  en: {
    day: ':',
    hour: ':',
    minute: ':',
    second: ''
  },
  cn: {
    day: '天',
    hour: '时',
    minute: '分',
    second: '秒'
  }
}
export default function countDownSeparatorValue(type: CountDownSeparator) {

  return {
    separatorValue: SeparatorMultiValue[type]
  }
}